CC = g++
CFLAGS = -std=c++11 -Wall -Wno-reorder -Woverloaded-virtual
DEBUG = -g
SRC = src/*.cpp src/*/*.cpp
HEADERS = -I include/
LFLAGS_OSX = -framework sfml-graphics -framework sfml-audio -framework sfml-window -framework sfml-system -lsfgui

all: Iso-Map-Release-OSX Iso-Map-Debug-OSX

debug: Iso-Map-Debug-OSX

Iso-Map-Release-OSX:
	$(CC) $(CFLAGS) $(SRC) $(HEADERS) $(LFLAGS_OSX) -o bin/Release/iso-map
	cp bin/Release/iso-map iso-map

Iso-Map-Debug-OSX:
	$(CC) $(CFLAGS) $(DEBUG) $(SRC) $(HEADERS) $(LFLAGS_OSX) -o bin/Debug/iso-map

